//
//  LBMinusPlusView.h
//  loveBeen
//
//  Created by 韩天助 on 11/20/16.
//  Copyright © 2016 loveBeen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LBSuperMarketProducts.h"
@class LBMinusPlusView;

@protocol LBMinusPlusViewDelegate <NSObject>

@optional
- (void)minusPlusView:(LBMinusPlusView *)minusPlusView;

@end


@interface LBMinusPlusView : UIView

@property(strong,nonatomic) id<LBMinusPlusViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIButton *minusBtn;

//@property (weak, nonatomic) IBOutlet UIButton *plusBtn;

@property (weak, nonatomic) IBOutlet UILabel *buyNumLabel;



// 记录点击的是 加号(yes) ,还是 减号(no)
@property (assign, nonatomic) BOOL isPlus;

// cell 的 model
@property(strong,nonatomic) LBSuperMarketProducts *model;


@property(strong, nonatomic) UIImageView *iconImage;




@end
